Developer Documentation

QuickTime 4 API Documentation

QuickTime 4 Reference

| Previous | Chapter Contents | Chapter Top | Next |

Creating a Video Output Component

This section describes the routines a hardware developer must implement when creating a video output component.

The examples in this section show how your video output component can use the services of the base video output component provided by Apple Computer. If your component uses these services, you do not have to implement the entire API for a video output component. You simply implement the functions described here, and the base video output component handles the rest. For most of the functions, you extend functions already included in the base video output component, which is much faster than providing complete implementations of these functions yourself. If the base video output component's implementation of any of these functions returns an error, the function in your video output component must immediately return with the same error. If the base video output component's implementation completes successfully, then your video output component's function provides the remainder of the implementation.

Before reading this section, you should be familiar with how to create components. See "Component Manager" in Mac OS For QuickTime Programmers for a complete description of components, how to use them, and how to create them. For further information about using the Component Manager with QuickTime for Windows, see Introduction to QuickTime 3 for Windows Programmers.

Connecting to the Base Video Output Component

Providing a Display Mode List

Starting Video Output

Ending Video Output

Implementing the QTVideoOutputSaveState Function

Implementing the QTVideoOutputRestoreState Function

Implementing the QTVideoOutputGetGWorldParameters Function

Controlling Other Hardware Features

Delegating Other Component Calls

Closing the Connection to the Base Video Output Component


© 1999 Apple Computer, Inc.

| Previous | Chapter Contents | Chapter Top | Next |